package com.company.project.service.warehouse;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.command.warehouse.WareHouseListCommand;
import com.company.project.command.warehouse.WarehouseCreateorUpdateCommand;
import com.company.project.entity.warehouse.Warehouse;

import java.util.List;

public interface WareHouseService extends IService<Warehouse> {

    public IPage<Warehouse> selectAllTables(WareHouseListCommand command);

    public void create(WarehouseCreateorUpdateCommand command);

    public void update(String id, WarehouseCreateorUpdateCommand command);

    public void disable(String id, String CreatedBy);

    public void enable(String id, String CreatedBy);

    List<Warehouse> getOption();
}
